package com.ruoyi.pm.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保司接口配置对象 exc_port
 *
 * @author ruoyi
 * @date 2022-01-20
 */
public class ExcPort extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 保司id
     */
    @Excel(name = "保司id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long supplierId;

    /**
     * 接口名称
     */
    @Excel(name = "接口名称")
    private String portName;

    /**
     * 出参格式 1:json  2:xml
     */
    @Excel(name = "出参格式 1:json  2:xml")
    private String dataType;

    /**
     * 调用服务器地址
     */
    @Excel(name = "调用服务器地址")
    private String serverPath;

    /**
     * 报文编码如 UTF-8，GBK
     */
    @Excel(name = "报文编码如 UTF-8，GBK")
    private String dataCoding;

    /**
     * 请求方法id
     */
    @Excel(name = "请求方法id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long requestId;

    private String requestName;

    /**
     * 加密方法id
     */
    @Excel(name = "加密方法id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encryId;

    private String encryName;

    /**
     * 超时时间
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long timeOut;

    /**
     * 定时任务ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long jobId;

    /** cron执行表达式 */
    private String cronExpression;


    /** 任务状态（0正常 1暂停） */
    private String jobStatus;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setPortName(String portName) {
        this.portName = portName;
    }

    public String getPortName() {
        return portName;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataType() {
        return dataType;
    }

    public void setServerPath(String serverPath) {
        this.serverPath = serverPath;
    }

    public String getServerPath() {
        return serverPath;
    }

    public void setDataCoding(String dataCoding) {
        this.dataCoding = dataCoding;
    }

    public String getDataCoding() {
        return dataCoding;
    }

    public void setRequestId(Long requestId) {
        this.requestId = requestId;
    }

    public Long getRequestId() {
        return requestId;
    }

    public void setEncryId(Long encryId) {
        this.encryId = encryId;
    }

    public Long getEncryId() {
        return encryId;
    }

    public String getRequestName() {
        return requestName;
    }

    public void setRequestName(String requestName) {
        this.requestName = requestName;
    }

    public String getEncryName() {
        return encryName;
    }

    public void setEncryName(String encryName) {
        this.encryName = encryName;
    }

    public Long getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(Long timeOut) {
        this.timeOut = timeOut;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus;
    }


}
